<?php
/**
	* @Copyright   2008, XXXX-XXXX
	* All rights reserved. 
	* feature summary。
	* @filesource:	output_converter_default.php 
	* @author      	lipeng <lipengage@gmain.com> 
	* @package     	/ 
	* @version     	$Id: $ 
  */
/**
 * return json output converter
 */
class output_converter_default {

	function output_response(response_item $response_item) {
		$response = $response_item->get_response();
		if (!is_null($response)) {
			header('Content-Type:text/plain;Charset=utf-8');
			echo json_encode($response);
			die();
		}
	}
}
